package Dream;

public class Dog extends Animal{
    public Dog(String name, int age) {
        super(name, age);
    }

    public Dog eat(){
        System.out.println(this.name+"正在吃狗粮");
        return null;
    }
    public void game(){
        System.out.println(this.name+"正在愉快的玩耍");
    }
    public void game(int age){
        System.out.println(this.name+"正在愉快的玩耍");
    }
}
